<!DOCTYPE html>
<html>


<!-- Mirrored from /theme/hplus/login.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:18:23 GMT -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>乡土味士-后台管理中心 - 登录</title>
    <meta name="keywords" content="乡土味士">
    <meta name="description" content="乡土味士">

    <link rel="shortcut icon" href="favicon.ico"> <link href="__PUBLIC__/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="__PUBLIC__/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

    <link href="__PUBLIC__/css/animate.min.css" rel="stylesheet">
    <link href="__PUBLIC__/css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <script>if(window.top !== window.self){ window.top.location = window.location;}</script>
</head>

<body class="gray-bg">

<div class="middle-box text-center loginscreen  animated fadeInDown">
    <div>
        <div>

            <h1 class="logo-name" style="font-size: 72px;">乡土味士</h1>

        </div>
        <h3>欢迎使用 乡土味士后台系统</h3>

        <form class="m-t js_form" role="form" method="post" action="/XtwsBack/Login/login">
            <div class="form-group">
                <input type="text" name="uname" class="form-control" placeholder="用户名" required>
            </div>
            <div class="form-group">
                <input type="password" name="upwd" class="form-control" placeholder="密码" required>
            </div>
            <div class="form-group" style="height: 35px;">
                <input style="width: 40%;float: left;margin-bottom: 15px;" type="code" name="code" class="form-control" placeholder="验证码" required>
                <img src="__MODULE__/Login/verifyCode/1"  alt="验证码" style="float:right;width:58%;height:40px;" onclick="this.src='__MODULE__/Login/verifyCode/'+Math.random()" />
            </div>
            <div class="form-group has-error" >
                <span id="confirm_form-error" style="float: left;margin-bottom: 10px;display: none" class="help-block m-b-none"></span>
            </div>
            <button type="submit" class="btn btn-primary block full-width m-b">登 录</button>

        </form>
    </div>
</div>
<script src="__PUBLIC__/js/jquery.min.js?v=2.1.4"></script>
<script src="__PUBLIC__/js/jquery.form.js"></script>
<script src="__PUBLIC__/js/layer/layer.js"></script>
<script src="__PUBLIC__/js/bootstrap.min.js?v=3.3.6"></script>

    <script>
        //表单提交
        $(".js_form").ajaxForm({
            //定义返回JSON数据，还包括xml和script格式
            dataType: 'json',
            success: function(data) {
                //提交成功后调用
                if(data.status==1) {
                    layer.msg(data.info, {icon:1,time:1000},
                        function(){
                            window.location.href= data.url;
                        });
                }else{
                    $("#confirm_form-error").show();
                    $("#confirm_form-error").html('<i class=\"fa fa-times-circle\"></i>&nbsp;'+data.info);
                }
            }
        });
    </script>

</body>

<!-- Mirrored from /theme/hplus/login.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:18:23 GMT -->
</html>
